include_directories(../../JRPC/inc)
include_directories(../../CommLib/inc)
include_directories(../../SEEM/inc)
include_directories(../../eLog/inc)
LINK_LIBRARIES(ev m)

aux_source_directory(. SRC_LIST_JRPC)
add_library(JRPC ${SRC_LIST_JRPC})
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin/lib)


SET(CMAKE_BUILD_TYPE "Debug")
SET(CMAKE_CXX_FLAGS_DEBUG "$ENV{CXXFLAGS} -O0 -Wall -g2 -ggdb")
SET(CMAKE_CXX_FLAGS_RELEASE "$ENV{CXXFLAGS} -O3 -Wall")